//
//  NXiJieCell.m
//  ieGou
//
//  Created by 嚷蜗痕殇心 on 15/1/29.
//  Copyright (c) 2015年 chaox. All rights reserved.
//

#import "NXiJieCell.h"

@implementation NXiJieCell
- (void)dealloc
{
    [_titleLabel release];
    [_yueLabel release];
    [_xingImage release];
    [_jtLabel release];
    [super dealloc];
}
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        
        self.titleLabel = [[UILabel alloc]init];
        _titleLabel.text = @"55555";
        [self.contentView addSubview:_titleLabel];
        [_titleLabel release];
        
        self.yueLabel= [[UILabel alloc]init];
        _yueLabel.text = @"554";
        [self.contentView addSubview:_yueLabel];
        [_yueLabel release];
        
        self.xingImage = [[UIImageView alloc]init];
        _xingImage.backgroundColor = [UIColor cyanColor];
        [self.contentView addSubview:_xingImage];
        [_xingImage release];
        
        self.jtLabel = [[UILabel alloc]init];
        _jtLabel.text = @"5556";
        [self.contentView addSubview:_jtLabel];
        [_jtLabel release];
        
    }
    return self;
}
- (void)layoutSubviews
{
    self.titleLabel.frame = CGRectMake(20, 25, 80, 30);
    self.yueLabel.frame = CGRectMake(120, 30, 100, 20);
    self.xingImage.frame = CGRectMake(240, 30, 120, 30);
    self.jtLabel.frame = CGRectMake(20, 70, 330, 30);
}
- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
